home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3c / getdtablehi.z / getdtablehi
Encoding:
Text File  |  2002-10-03  |  1.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. GGGGEEEETTTTDDDDTTTTAAAABBBBLLLLEEEEHHHHIIII((((3333CCCC))))                                                GGGGEEEETTTTDDDDTTTTAAAABBBBLLLLEEEEHHHHIIII((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      getdtablehi - get largest open file descriptor index
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<uuuunnnniiiissssttttdddd....hhhh>>>>
  13.  
  14.      iiiinnnntttt ggggeeeettttddddttttaaaabbbblllleeeehhhhiiii((((vvvvooooiiiidddd))));;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _gggg_eeee_tttt_dddd_tttt_aaaa_bbbb_llll_eeee_hhhh_iiii returns the index of the largest open descriptor for the
  18.      calling process plus one.  The 'plus one' makes _gggg_eeee_tttt_dddd_tttt_aaaa_bbbb_llll_eeee_hhhh_iiii an ideal
  19.      replacement for _gggg_eeee_tttt_dddd_tttt_aaaa_bbbb_llll_eeee_ssss_iiii_zzzz_eeee(2) when the program wishes simply to loop
  20.      through and act on all open file descriptors, rather than up to the
  21.      system maximum.
  22.  
  23. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  24.      close(2), getdtablesize(2), intro(2), open(2), select(2), setrlimit(2)
  25.      dup(3C).
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.